﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="cropavatar.aspx.cs" Inherits="NCT.Web.Frontend.Modules.User.Profile.CropAvatarPage" %>
<%@ Register Src="~/modules/user/profiles/controls/cropAvatarPopup.ascx" TagName="cropAvatarPopup" TagPrefix="viss" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Thay đổi avatar</title>
    <script type="text/javascript">
        var GLOBAL_ROOT_URL = '<%=AppSettings.RootURL %>';
        var GLOBAL_RESOURCES_PATH = '<%=AppSettings.ResourcesPath %>';
    </script>
    
    <link href="<%=AppSettings.ResourcesPath %>/styles/cropavatar.css?rand=20110113" rel="stylesheet" type="text/css" />    
    <link href="<%=AppSettings.ResourcesPath %>/styles/jquery.jcrop.css?rand=20110113" rel="stylesheet" type="text/css" />

    <script src="<%=AppSettings.ResourcesPath %>/scripts/lib/jquery/jquery-1.4.2.min.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/lib/jquery/jquery.alerts.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/lib/jquery/jquery.jcrop.min.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/lib/jquery/jquery.jcrop.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/exec/constants.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/exec/exec-cropavatar.js?rand=20110113" type="text/javascript"></script>
</head>
<body>
    <form id="formcropavatar" name="formcropavatar" action="" method="post">
        <center>
            <viss:cropAvatarPopup ID="idCropAvatarPopup" runat="server" EnableViewState="false" />
        </center>
    </form>
    <script type="text/javascript">
        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'UA-273986-1']);
        _gaq.push(['_trackPageview']);
        (function() {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
        })();
    </script>
</body>
</html>
